/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.fzhucc.modules.policy.domain.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;

/**
* @website https://eladmin.vip
* @description /
* @author yyg
* @date 2023-02-27
**/
@Data
public class PolicyDto implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("政策名称")
    private String name;

    @ApiModelProperty("发布时间")
    private Timestamp releaseTime;

    @ApiModelProperty("发文单位")
    private String unit;

    @ApiModelProperty("重点内容")
    private String context;

    @ApiModelProperty("内容类型   policy_context_type")
    private String contextType;

    @ApiModelProperty("政策链接")
    private String policyUrl;

    @ApiModelProperty(value = "是否显示")
    private Integer isShow;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty("封面")
    private String pic;

    @ApiModelProperty(value = "领域")
    private String area;


    @ApiModelProperty(value = "是否假删除")
    @NotNull
    private Integer isDelete;

    @ApiModelProperty("区域划分")
    private String orgArea;
}